package com.kws.merchant.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author : zhangbenting
 * @date : 2024/11/12 14:08
 * @Version: 1.0
 */
@Data
@TableName("tb_item_scheme_param")
public class OnlineInquiryEntity implements Serializable {

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @ApiModelProperty("主键ID")
    private Long id;

    @ApiModelProperty("建站地址")
    private String siteUrl;

    @ApiModelProperty("用户类型")
    private String userType;

    @ApiModelProperty("屋顶类型")
    private String roofType;

    @ApiModelProperty("建站面积")
    private String siteArea;

    @ApiModelProperty("用电方式")
    private String powerType;

    @ApiModelProperty("年用电量")
    private String powerNumYear;

    @ApiModelProperty("投资类型(贷款，自付)")
    private String investType;

    @ApiModelProperty("收益预设")
    private String profit;

    @ApiModelProperty("贷款年限")
    private String loanYear;

    @ApiModelProperty("年收益")
    private String profitYear;

    @ApiModelProperty("还款年限")
    private String repayYear;

    @ApiModelProperty("还款方式")
    private String repayType;

    @ApiModelProperty("贷款利率")
    private String loanRate;

    @ApiModelProperty("投资回收年限")
    private String investYear;

    //参数设置
    @ApiModelProperty("光照数据源")
    private String lightDataSource;

    @ApiModelProperty("装机面积")
    private String installArea;

    @ApiModelProperty("光伏矩阵面积")
    private String matrixArea;

    @ApiModelProperty("光伏板功率")
    private String powerPhotovoltaic;

    @ApiModelProperty("损耗系数")
    private String loss;

    @ApiModelProperty("光照系数")
    private String illumination;

    @ApiModelProperty("年满发小时数")
    private String fullYearHours;

    @ApiModelProperty("安装方式")
    private String installType;

    @ApiModelProperty("安装倾斜角度")
    private String tiltAngle;

    @ApiModelProperty("总发电容量")
    private String capacityAll;

    @ApiModelProperty("单位总包成本")
    private String generalContracting;

    @ApiModelProperty("单位运维成本")
    private String maintenanceCost;

    @ApiModelProperty("总建站成本")
    private String constructSiteCost;

    @ApiModelProperty("投资时长")
    private String investDuration;

    @ApiModelProperty("净现值收益")
    private String netProceeds;

    @ApiModelProperty("投资收益率")
    private String investEarningRate;

    @ApiModelProperty("总投资收益")
    private String investIncomeAll;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
